<?php


namespace app\admin\controller;


use app\BaseController;
use think\facade\Session;

class Logout extends BaseController
{
    public function index()
    {
        Session::delete('admin_user');
        return redirect("/admin/login");
    }
}